home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global time, play, rate, movie, men, unhide, commence
- when keyDown then nothing
- puppetSprite(5, 1)
- puppetTempo(10)
- if play = 1 then
- set the castNum of sprite 5 to movie
- updateStage()
- set the movieTime of sprite 5 to time
- set the movieRate of sprite 5 to rate
- set play to 0
- end if
- if the castNum of sprite 5 = movie then
- if the controller of member movie = 0 then
- set the movieRate of sprite 5 to 1
- end if
- if the movieTime of sprite 5 = the duration of member movie then
- if movie = 47 then
- set men to 0
- end if
- repeat with q = 5 to 11
- puppetSprite(q, 0)
- end repeat
- puppetTempo(120)
- unloadMember(movie)
- set the colorDepth to 8
- puppetSprite(1, 0)
- cursor(200)
- set the cursor of sprite 5 to 200
- set the cursor of sprite 6 to 200
- set the cursor of sprite 7 to 200
- set the cursor of sprite 8 to 200
- set the cursor of sprite 9 to 200
- set the cursor of sprite 10 to 200
- set the cursor of sprite 11 to 200
- if men = 0 then
- set the colorDepth to 32
- if the colorDepth < 32 then
- set the colorDepth to 16
- end if
- go(1)
- else
- go(2)
- end if
- end if
- else
- if the mouseDown = 0 then
- set unhide to 0
- end if
- if (commence = 1) and (unhide = 0) and (the mouseDown = 1) then
- repeat with q = 6 to 11
- puppetSprite(q, 0)
- end repeat
- if the castNum of sprite 5 = movie then
- set time to the movieTime of sprite 5
- end if
- set the castNum of sprite 5 to movie
- updateStage()
- set the movieTime of sprite 5 to time
- set the movieRate of sprite 5 to rate
- end if
- end if
- go(the frame)
- end
-